// ###############
// FILE : Soldier.java
// WRITER : Ido Adler, idoa03, 039809181
// WRITER : Gal Bartfeld, gbartf99, 20144546
// EXERCISE : oop herobots 2009
// DESCRIPTION:
// TODO: add description
// ###############
package warbots.entities.units;


import java.awt.Point;

import warbots.gameplay.Player;
import warbots.gameplay.exceptions.CreateUnitException;

/**
 * TODO: add description
 * 
 * @author Ido Adler.
 * @author Gal Bartfeld.
 */
public class Soldier extends Unit
{
    
    /**
     * TODO: description
     * 
     * @param p
     * @param unit
     * @param direction
     * @param position
     * @param actions
     * @throws CreateUnitException
     */
    public Soldier(final Player p, final String unit, final int direction,
        final Point position, final String... actions) throws CreateUnitException
    {
        super(p, unit, 1, 2, 5, 10, direction, position, "HIT");
        addActions(actions);
    }
    
}
